x86/Viridian: don't depend on undefined register state
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Oct 2016 12:09:42 +0000 (14:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Oct 2016 12:09:42 +0000 (14:09 +0200)
commita709a3a646302e95ba42beac89264f6cdacd0c64
tree3d1b32ac1f4af85c4c85e42833bb0e74bc915711
parent373923ed9c2ed36925f574387db2be2ebe5ce45a
x86/Viridian: don't depend on undefined register state

The high halves of all GPRs are undefined in 32-bit and compat modes,
and the dependency is being obfuscated by our structure field names not
matching architectural register names (it was actually while putting
together a patch to correct this when I noticed the issue here).

For consistency also use the architecturally correct names on the
output side.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/viridian.c